﻿<%@ Page Language="C#" MasterPageFile="../Share/Default.master" AutoEventWireup="true"
    CodeFile="Add.aspx.cs" Inherits="Menu_Add" Title="无标题页" %>

<%@ Register Assembly="ClickOnceButton" Namespace="FreeHouse.Web.Controls" TagPrefix="cc1" %>
<%@ Register Src="../Control/MenuMenu.ascx" TagName="MenuMenu" TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="body" runat="Server">
    <asp:BulletedList ID="error" runat="server" ForeColor="Red">
    </asp:BulletedList>
    <table align="center">
        <tr>
            <td>
                菜单名称
            </td>
            <td>
                <asp:TextBox ID="menuName" runat="server" MaxLength="50"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
                页面Url
            </td>
            <td>
                <asp:TextBox ID="pageUrl" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
                所属菜单
            </td>
            <td>
                <asp:DropDownList ID="parentMenu" runat="server">
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td>
                排序
            </td>
            <td>
                <asp:TextBox ID="sort" runat="server">0</asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
            </td>
            <td>
                <cc1:ClickOnceButton ID="save" Text="保存" AfterSubmitText="请稍候..." runat="server"
                    OnClick="save_Click" />
                &nbsp;<cc1:ClickOnceButton ID="back" runat="server" Text="取消" OnClick="back_Click" />
            </td>
        </tr>
    </table>
</asp:Content>
